<div class="alignleft" id="sidebar">
<div class="actions">
	<ul>
		<li><?php echo $this->Html->link(__('Delete Account', true), array('action' => 'delete', $this->Form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('User.id'))); ?></li>
<!--		<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Tasks', true), array('controller' => 'tasks', 'action' => 'index')); ?> </li> -->
		<li><?php echo $this->Html->link(__('Add New Task', true), array('controller' => 'tasks', 'action' => 'add')); ?> </li>
	</ul>
</div>
</div>
<!-- Sidebar -->

<div class="alignleft" id="main">
<div class="users form">
<?php echo $this->Form->create('User');?>
	<fieldset>
 		<legend><?php __('Edit User'); ?></legend>
	<?php
		echo $this->Form->input('user_id', array('default' => $this->Session->read('Auth.User.id'), 'readonly' => 'readonly', 'type' => 'hidden'));
/*		echo $this->Form->input('oauth_provider');
		echo $this->Form->input('oauth_uid');
		echo $this->Form->input('access_token');
		echo $this->Form->input('username'); */
		echo $this->Form->input('password');
		echo $this->Form->input('email');
		echo $this->Form->input('name');
/*		echo $this->Form->input('is_admin'); */
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
</div>
<!-- Main -->
